tools/xentrace: Use const whenever we point to literal strings
authorJulien Grall <jgrall@amazon.com>
Tue, 6 Apr 2021 19:00:25 +0000 (20:00 +0100)
committerJulien Grall <jgrall@amazon.com>
Tue, 6 Apr 2021 19:03:10 +0000 (20:03 +0100)
commit51207a2999bc69531412acc6010e2c4fbfbaf7fc
tree9751527a65a4987f0b40ca4a77371c1ef14124df
parent922dcbab0b465f9da006b31da1a61e93734a080e
tools/xentrace: Use const whenever we point to literal strings

literal strings are not meant to be modified. So we should use const
char * rather than char * when we want to store a pointer to them.

Signed-off-by: Julien Grall <jgrall@amazon.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
tools/xentrace/xenalyze.c
tools/xentrace/xenctx.c